import Taro from '@tarojs/taro-rn';
import React from 'react';
import { Component } from "@tarojs/taro-rn";
import { View, Image } from "@tarojs/components-rn";
import cash_successStyleSheet from "./cash_success_styles";

import success_icon from '../../assets/img/icon_29.png';
import { getRuntime } from "../../utils/common";
var _styleSheet = cash_successStyleSheet;
let Success = class Success extends Component {
  constructor(props) {
    super(props);
    this.state = {};
  }
  componentWillMount() {
    Taro.setNavigationBarTitle({ title: '提现成功' });
  }
  handelRouter(url = '/pages/index/index') {
    getRuntime().navigateTo(url);
  }
  render() {
    return <View style={_styleSheet["apply-success"]}>
       <View style={_styleSheet["content"]}>
         <Image src={success_icon} style={_styleSheet["success-icon"]} />
         <View style={_styleSheet["title"]}>申请提现成功</View>
         <View style={_styleSheet["desc"]}>我们会尽快为您提现，请耐心等待~</View>
         <View style={_styleSheet["tel"]}>预计4小时内到账</View>
       </View>
       <View style={_styleSheet["btn-group"]}>
         <View style={[_styleSheet["btn"], _styleSheet["btn-active"], { width: '100%' }]}>确定</View>
       </View>
     </View>;
  }
};

export default Success;